home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / phase5 / ppcrelease / examples / msg5ppc.elf.dump < prev    next >
Text File  |  1998-02-21  |  4KB  |  116 lines

  1.  
  2. Msg5PPC.elf:     file format elf32-powerpc
  3. Msg5PPC.elf
  4. architecture: powerpc:common, flags 0x00000011:
  5. HAS_RELOC, HAS_SYMS
  6. start address 0x00000000
  7.  
  8. Sections:
  9. Idx Name          Size      VMA       LMA       File off  Algn
  10.   0 .text         000000fc  00000000  00000000  00000034  2**2
  11.                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  12.   1 .data         00000000  00000000  00000000  00000130  2**0
  13.                   CONTENTS, ALLOC, LOAD, DATA
  14.   2 .bss          00000000  00000000  00000000  00000130  2**0
  15.                   ALLOC
  16.   3 .comment      00000014  00000000  00000000  00000130  2**0
  17.                   CONTENTS, READONLY
  18. SYMBOL TABLE:
  19. 00000000 l    d  .text    00000000 
  20. 00000000 l    d  *ABS*    00000000 
  21. 00000000 l    d  .data    00000000 
  22. 00000000 l    d  .bss    00000000 
  23. 00000000 l    d  .comment    00000000 
  24. 00000000 l    d  *ABS*    00000000 
  25. 00000000 l    d  *ABS*    00000000 
  26. 00000000 l    d  *ABS*    00000000 
  27. 00000000 l    df *ABS*    00000000 Msg5PPC.c
  28. 00000000 l     O .text    00000000 gcc2_compiled.
  29. 000000a0 g     F .text    0000005c printf
  30. 00000000         *UND*    00000000 PPCGetMessage
  31. 00000000         *UND*    00000000 PPCWaitPort
  32. 00000004 g     F .text    00000098 main
  33. 00000004       O *COM*    00000004 MyFile
  34. 00000000         *UND*    00000000 PPCReplyMessage
  35. 00000000         *UND*    00000000 strlen
  36. 00000000         *UND*    00000000 PPCGetTaskAttr
  37. 00000000         *UND*    00000000 PPCWrite
  38.  
  39.  
  40. Disassembly of section .text:
  41. 00000000 <gcc2_compiled.> .long 0x403c
  42. main():
  43. 00000004 <main> stwu    r1,-112(r1)
  44. 00000008 <main+4> mflr    r0
  45. 0000000c <main+8> stw    r29,100(r1)
  46. 00000010 <main+c> stw    r30,104(r1)
  47. 00000014 <main+10> stw    r31,108(r1)
  48. 00000018 <main+14> stw    r0,116(r1)
  49. 0000001c <main+18> lis    r3,-32766
  50. 00000020 <main+1c> ori    r3,r3,22
  51. 00000024 <main+20> bl    00000024 <main+20>
  52.         RELOC: 00000024 R_PPC_REL24 PPCGetTaskAttr
  53. 00000028 <main+24> lwz    r30,0(r3)
  54. 0000002c <main+28> lis    r3,-32766
  55. 00000030 <main+2c> ori    r3,r3,20
  56. 00000034 <main+30> bl    00000034 <main+30>
  57.         RELOC: 00000034 R_PPC_REL24 PPCGetTaskAttr
  58. 00000038 <main+34> mr.    r29,r3
  59. 0000003c <main+38> beq    00000080 <main+7c>
  60. 00000040 <main+3c> li    r31,0
  61. 00000044 <main+40> cmplw    cr1,r31,r30
  62. 00000048 <main+44> bge    cr1,00000080 <main+7c>
  63. 0000004c <main+48> mr    r3,r29
  64. 00000050 <main+4c> bl    00000050 <main+4c>
  65.         RELOC: 00000050 R_PPC_REL24 PPCWaitPort
  66. 00000054 <main+50> cmplw    cr1,r31,r30
  67. 00000058 <main+54> bge    cr1,00000080 <main+7c>
  68. 0000005c <main+58> mr    r3,r29
  69. 00000060 <main+5c> bl    00000060 <main+5c>
  70.         RELOC: 00000060 R_PPC_REL24 PPCGetMessage
  71. 00000064 <main+60> mr.    r3,r3
  72. 00000068 <main+64> beq    00000044 <main+40>
  73. 0000006c <main+68> bl    0000006c <main+68>
  74.         RELOC: 0000006c R_PPC_REL24 PPCReplyMessage
  75. 00000070 <main+6c> addi    r31,r31,1
  76. 00000074 <main+70> cmplw    cr1,r31,r30
  77. 00000078 <main+74> blt    cr1,0000005c <main+58>
  78. 0000007c <main+78> b    00000044 <main+40>
  79. 00000080 <main+7c> lwz    r0,116(r1)
  80. 00000084 <main+80> mtlr    r0
  81. 00000088 <main+84> lwz    r29,100(r1)
  82. 0000008c <main+88> lwz    r30,104(r1)
  83. 00000090 <main+8c> lwz    r31,108(r1)
  84. 00000094 <main+90> addi    r1,r1,112
  85. 00000098 <main+94> blr
  86. 0000009c <main+98> .long 0x404c
  87. printf():
  88. 000000a0 <printf> stwu    r1,-32(r1)
  89. 000000a4 <printf+4> mflr    r0
  90. 000000a8 <printf+8> stw    r28,16(r1)
  91. 000000ac <printf+c> stw    r29,20(r1)
  92. 000000b0 <printf+10> stw    r30,24(r1)
  93. 000000b4 <printf+14> stw    r31,28(r1)
  94. 000000b8 <printf+18> stw    r0,36(r1)
  95. 000000bc <printf+1c> mr    r28,r3
  96. 000000c0 <printf+20> lis    r9,0
  97.         RELOC: 000000c2 R_PPC_ADDR16_HA MyFile
  98. 000000c4 <printf+24> lwz    r29,0(r9)
  99.         RELOC: 000000c6 R_PPC_ADDR16_LO MyFile
  100. 000000c8 <printf+28> bl    000000c8 <printf+28>
  101.         RELOC: 000000c8 R_PPC_REL24 strlen
  102. 000000cc <printf+2c> mr    r5,r3
  103. 000000d0 <printf+30> mr    r4,r28
  104. 000000d4 <printf+34> mr    r3,r29
  105. 000000d8 <printf+38> bl    000000d8 <printf+38>
  106.         RELOC: 000000d8 R_PPC_REL24 PPCWrite
  107. 000000dc <printf+3c> lwz    r0,36(r1)
  108. 000000e0 <printf+40> mtlr    r0
  109. 000000e4 <printf+44> lwz    r28,16(r1)
  110. 000000e8 <printf+48> lwz    r29,20(r1)
  111. 000000ec <printf+4c> lwz    r30,24(r1)
  112. 000000f0 <printf+50> lwz    r31,28(r1)
  113. 000000f4 <printf+54> addi    r1,r1,32
  114. 000000f8 <printf+58> blr
  115. Disassembly of section .data:
  116.